package com.demo.com.stack_1;

/**
 * Desc: 运行主方法
 * @author: lisha 2018/7/5 10:50
 */
public class MainTest {

    public static void main(String[] args) {
        Mystack mystack = new Mystack();
        P p = new P(mystack);
        C r = new C(mystack);

        P_Thread p_thread = new P_Thread(p);
        C_Thread c_thread = new C_Thread(r);

        p_thread.start();
        c_thread.start();
    }
}
